Title Banner

Previous Book Contents Book Index Next

Inside Macintosh: QuickDraw GX Printing /
Chapter 2 - Core Printing Features / Core Printing Features Reference
Functions / Initializing and Terminating QuickDraw GX Printing Features


GXExitPrinting

You can use the GXExitPrinting function to terminate printing features within QuickDraw GX.

OSErr GXExitPrinting (void);
function result
An error code of type OSErr.
DESCRIPTION
The GXExitPrinting function terminates printing features within QuickDraw GX only after you have successfully called the GXInitPrinting function. You cannot call QuickDraw GX printing functions after you call the GXExitPrinting function.

You must call the GXExitPrinting function before you call the GXExitGraphics function to shut down QuickDraw GX.

Before you call the GXExitPrinting function, you should dispose of all QuickDraw GX printing-related objects. If you want to use these objects again, you should save them.

RESULT CODES
gxSegmentLoadFailedErrA required code segment could not be found, or there was not enough memory to load it.
SEE ALSO
For information about saving printing-related objects, see "Saving a Job Object With a Document File" beginning on page 2-24.

The GXExitGraphics function is described in the environment chapter of Inside Macintosh: Environment and Utilities.


Previous Book Contents Book Index Next

© Apple Computer, Inc.
7 JUL 1996




Navigation graphic, see text links

Main | Page One | What's New | Apple Computer, Inc. | Find It | Contact Us | Help